package com.hospital.demo.mapper.gaoyuran;

import com.hospital.demo.model.gaoyuran.Equipment;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
@Mapper
public interface EquipmentMapper {

    //查看全部器材信息
    List<Equipment> findAll();

    //通过id删除
    int deleteByPrimaryKey(Integer meid);

    //插入器材信息
    int insert(Equipment record);


    Equipment get(Integer meid);

    //更新器材信息
    int updateByPrimaryKey(Equipment record);

    //查看全部未使用器材信息
    List<Equipment> findAllno();
}
